package org.finesys.boot.service.impl;

import lombok.RequiredArgsConstructor;
import org.finesys.system.api.entity.SysLog;
import org.finesys.system.api.service.LogService;
import org.finesys.system.service.SysLogService;
import org.springframework.stereotype.Service;

@Service
@RequiredArgsConstructor
public class LogServiceImpl implements LogService {

    private final SysLogService sysLogService;

    @Override
    public void add(SysLog sysLog) {
        sysLogService.saveOrUpdate(sysLog);
    }
}
